package com.minazuki.signinserver.pojo.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper

public interface CourseMapper extends tk.mybatis.mapper.common.Mapper<Course>{
    @Select("select * from course")
    public List<Course> test();

    @Select("select * from course order by id desc limit #{topNum}")
    public Course test1(long topNum);
}
